print('ABC'.encode("ascii"))
print('中文'.encode("utf-8"))
print(b'\xe4\xb8\xad\xe6\x96\x87'.decode("utf-8"))

print(len(b'\xe4\xb8\xad\xe6\x96\x87'))

print('Hello {0},成绩提高了{1}'.format('小明','30'))